/**
 * @Project Name:springboot-sentinel
 * @Package Name:cn.hoofungson.springboot.sentinel.config
 * @Since JDK 1.8
 */
package cn.hoofungson.studio.sentinel.dubbo.service.provider.config;

import com.alibaba.csp.sentinel.annotation.aspectj.SentinelResourceAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 哨兵切面配置
 * @Author 胡松 hoofungson@163.com
 * @Date 2019-01-25 11:17
 * @Version V1.0
 */
@Configuration
public class SentinelAspectConfiguration {

    @Bean
    public SentinelResourceAspect sentinelResourceAspect() {
        return new SentinelResourceAspect();
    }
}
